{% extends "base.html" %}
{% from "formHelpers.html" import renderField %}

{% block content %}
	<h2>Start Static Data Importer</h2>
	<form action="{{ url_for('importer') }}" method="post" accept-charset="utf-8">
		{{ form.hidden_tag() }}
		<p>
			The importer needs a base URL to the data-dump-exporter scripts. Requests
			will be made to these scripts at the supplied URL to load the required
			information from the EVE Data Dump.
		</p>
		<dl>
			{{ renderField(form.dataSourceUrl) }}
			{{ renderField(form.dataOptions) }}
			{% if form.regionMoons.choices|length > 0 %}
			{{ renderField(form.regionMoons) }}
			{% endif %}
		</dl>
		<p><input type="submit" value="Start Import"/></p>
	</form>
{% endblock %}